import Vue from 'vue';
let Counter = Vue.extend({
	template: `<template>
    <div class='counter'>{{ counter }}</div>
    <button v-on:click='changeCounter'></button>
  </template>`,
	data() {
		return {
			counter: 1
		};
	},
	methods: {
		changeCounter() {
			this.counter++;
		}
	}
});
export default Counter;
